package entity;

public class DTO {
    private String fullName;
    private Long category_id;
    private String attribute_name;//颜色,尺寸,容量等
    private String isChooseList;//黑蓝白,大中小等
    private String name;
    private Long parent_id;
    private Integer attribute_id;//属性id

    public DTO() {
    }

    public DTO(String attribute_name, String isChooseList, Integer attribute_id) {
        this.attribute_name = attribute_name;
        this.isChooseList = isChooseList;
        this.attribute_id = attribute_id;
    }

    public DTO(String attribute_name, String isChooseList, String name, Integer attribute_id) {
        this.attribute_name = attribute_name;
        this.isChooseList = isChooseList;
        this.name = name;
        this.attribute_id = attribute_id;
    }

    public DTO(String attribute_name, String isChooseList) {
        this.attribute_name = attribute_name;
        this.isChooseList = isChooseList;
    }

    public DTO(String fullName, Long category_id) {
        this.fullName = fullName;
        this.category_id = category_id;
    }

    public DTO(String attribute_name, String isChooseList, String name, Long parent_id) {
        this.attribute_name = attribute_name;
        this.isChooseList = isChooseList;
        this.name = name;
        this.parent_id = parent_id;
    }

    public DTO(String attribute_name, String isChooseList, String name) {
        this.attribute_name = attribute_name;
        this.isChooseList = isChooseList;
        this.name = name;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public Long getCategory_id() {
        return category_id;
    }

    public void setCategory_id(Long category_id) {
        this.category_id = category_id;
    }

    public String getAttribute_name() {
        return attribute_name;
    }

    public void setAttribute_name(String attribute_name) {
        this.attribute_name = attribute_name;
    }

    public String getIsChooseList() {
        return isChooseList;
    }

    public void setIsChooseList(String isChooseList) {
        this.isChooseList = isChooseList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParent_id() {
        return parent_id;
    }

    public void setParent_id(Long parent_id) {
        this.parent_id = parent_id;
    }

    public Integer getAttribute_id() {
        return attribute_id;
    }

    public void setAttribute_id(Integer attribute_id) {
        this.attribute_id = attribute_id;
    }

    @Override
    public String toString() {
        return "DTO{" +
                "fullName='" + fullName + '\'' +
                ", category_id=" + category_id +
                ", attribute_name='" + attribute_name + '\'' +
                ", isChooseList='" + isChooseList + '\'' +
                ", name='" + name + '\'' +
                ", parent_id=" + parent_id +
                '}';
    }
}
